package com.guys8.cemsbackend;

import com.github.jeffreyning.mybatisplus.conf.EnableMPP;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.bind.annotation.CrossOrigin;

@EnableTransactionManagement //todo 事务管理
@SpringBootApplication
@EnableMPP
@CrossOrigin
@MapperScan(value="com.guys8.cemsbackend.mapper")
public class CemsBackendApplication {

    public static void main(String[] args) {
        SpringApplication.run(CemsBackendApplication.class, args);
    }

}
